package com.xreal.orm;

import com.alibaba.nacos.spring.context.annotation.config.EnableNacosConfig;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author yangzhongming
 * @desc orm 启动测试
 * @date 2022/4/26
 */
@SpringBootApplication
@MapperScan("com.xreal.orm.mapper")
@EnableNacosConfig
@NacosPropertySource(dataId = "base-architecture.properties", autoRefreshed = true)

public class BaseArchitectureOrmApplication {
    public static void main(String[] args) {
        SpringApplication.run(BaseArchitectureOrmApplication.class, args);
    }
}
